﻿/*
* Activity Tracking Log v0.1.1 - http://activitytrackinglog.codeplex.com
* Activity Tracking Log for ASP.Net & ASP.Net MVC
* Copyright (c) 2011 Vadim Burac
* Licensed under the Microsoft Public License (Ms-PL)
* http://activitytrackinglog.codeplex.com/license
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using ActivityTrackingLog.Data;
using System.Reflection;
using ActivityTrackingLog.Web.Utils;

namespace ActivityTrackingLog.Storage
{
    internal interface ILogRepository
    {
        void Save(ActivityItem userActivity);

        /*UserActivitiesListContainer GetActivities(string userKey, int pageIndex, int pageSize);*/

        string[][] GetFlatList<T>(string userKey, int pageIndex, int pageSize, ColumnData[] cols, out int totalRecords) where T : class;

        string[][] GetGroupedFlatList<T>(string userKey, int pageIndex, int pageSize, ColumnData[] cols, out int totalRecords) where T : class;
    }
}
